const config = {
    environment: process.env.NODE_ENV || 'development',
    wxapp_id: 10010,
    development: {
        root: 'http://192.168.0.183:3001/',
        contactRoot: 'http://192.168.0.183:3001/',
        api: {
            getPage: 'getPage',//获取首页数据
            getArticleList: 'getArticleList',//获取文章列表
            getArticleDetail: 'getArticleDetail',//获取文章详情
            getCategory: 'getCategory',//获取商品分类
            getGoodsList: 'getGoodsList',//获取商品列表
            getGoodsDetail: 'getGoodsDetail',//获取商品详情
            contact: 'contact',//联系我们
        }
    },
    production: {
        root: '/api/',
        contactRoot: '/plugin/message/do/addmsg.html',
        api: {
            getPage: '/api/page/index',//获取首页数据
            getArticleList: '/api/Article/lists',//获取文章列表
            getArticleDetail: '/api/Article/detail',//获取文章详情
            getCategory: '/api/category/index',//获取商品分类
            getGoodsList: '/api/goods/lists',//获取商品列表
            getGoodsDetail: '/api/goods/detail',//获取商品详情
            contact: 'addmsg.html',//联系我们
        }
    }
};
export default config;
